namespace DesignPattern.Behavioral.State
{
    public class LightIsOnState : Light
    {
        public override void TouchLightSwitch(LightContext context)
        {
            System.Console.WriteLine("The light is on.");
            context.SetLightState(new LightIsOffState());
        }
    }
}